﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HideBar.aspx.cs" Inherits="UI.HideBar" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
   <title>NavigationHide</title>
   <script  language="JavaScript"  type ="text/javascript">

　　       function ChangeVisible() {
           if (parent.document.getElementById('MainFrame').cols != "0,6,*") {
               parent.document.getElementById('MainFrame').cols = "0,6,*";

               document.all.menuSwitch.innerHTML = "<a href='#' onclick='ChangeVisible();'><img src='../Images/index/bg.gif' width='6' height='480' alt='显示' border='0' /></a>";
           }
           else {
               parent.document.getElementById('MainFrame').cols = "162,6,*";
              
               document.all.menuSwitch.innerHTML = "<a href='#' onclick='ChangeVisible();'><img src='../Images/index/bg.gif' width='6' height='480' alt='隐藏' border='0' /></a>";
           }
       }

　　</script>
　　</head>

　　

　　<body style=" margin: 0px; background-image:url(../Images/index/bg.gif);">

　　<div id="menuSwitch">
<a href="#" onclick="ChangeVisible();"><img src="../Images/index/bg.gif" width="6" height="480" alt="隐藏" border="0" /></a>
</div>
</body>
</html>
